import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import "./assets/css/global.css";
//自定义组件
import MyPrompt from './util/prompt'
import store from './store';
Vue.use(MyPrompt)
// 将自动注册所有组件为全局组件
import dataV from '@jiaminghi/data-view'

Vue.use(dataV)
// 引入时间处理函数Vue.config.productionTip = false
// import { EventBus } from "./router";
// Vue.prototype.$bus = EventBus;
// Vue.prototype.$bus = new Vue()
import dayjs from 'dayjs'
Vue.filter('newdate',e=>{
  return dayjs(e).format('YYYY-MM-DD HH:mm:ss')
})
Vue.config.productionTip = false

new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')
